<template>
  <div>
    <h1>这是 App.vue 根组件</h1>
    <my-article :title="info.title" :author="'post by'+info.author" :pubTime="1989"></my-article>
  </div>
</template>

<script>
import MyArticle from './Article.vue'
export default {
  name: 'MyApp',
  data(){
    return{
      info:{
      title:'abc',
      author:'ABC'
    }
    }
  },
  components:{
    MyArticle
  }
}
</script>
